<?php
// require_once("../model/application.php");
// echo getcwd(); exit();

function tip_application_by_Id($app_id)
{
    $list_app = new Applications();
    $data = $list_app->getItemByID($app_id);
    $msg = "<ul>";
    foreach($data as $value)
    {
        $msg .= "<li>".$value['app_name']."</li>";
        $msg .= "<li>".$value['app_price']."</li>";
        $msg .= "<li>".$value['app_desc']."</li>";
    }
    $msg .= "</ul>";
    return $msg;
}